package com.yicong.ants.bean.account;

/**
 * @author cchao
 * @version 2019-05-24.
 */
public class DashBoard {
    UserBean user_info;
    String tax_total;

    public DashBoard() {
    }

    public UserBean getUser_info() {
        return this.user_info;
    }

    public String getTax_total() {
        return this.tax_total;
    }

    public void setUser_info(UserBean user_info) {
        this.user_info = user_info;
    }

    public void setTax_total(String tax_total) {
        this.tax_total = tax_total;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof DashBoard)) return false;
        final DashBoard other = (DashBoard) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$user_info = this.getUser_info();
        final Object other$user_info = other.getUser_info();
        if (this$user_info == null ? other$user_info != null : !this$user_info.equals(other$user_info))
            return false;
        final Object this$tax_total = this.getTax_total();
        final Object other$tax_total = other.getTax_total();
        if (this$tax_total == null ? other$tax_total != null : !this$tax_total.equals(other$tax_total))
            return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof DashBoard;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $user_info = this.getUser_info();
        result = result * PRIME + ($user_info == null ? 43 : $user_info.hashCode());
        final Object $tax_total = this.getTax_total();
        result = result * PRIME + ($tax_total == null ? 43 : $tax_total.hashCode());
        return result;
    }

    public String toString() {
        return "DashBoard(user_info=" + this.getUser_info() + ", tax_total=" + this.getTax_total() + ")";
    }
}
